﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace BG.DAL.Model
{
    public class Ticket
    {
        [Key]
        public Guid kTicketId { get; set; }

        public String kTicketStaffOwnerId { get; set; }

        public String kCompanyStaffOwnerId { get; set; }

        public String kProductId { get; set; }

        public String kWorkingStatusId { get; set; }

        [Display(Name = "Ticket Number"), StringLength(10)]
        public String sTicketNumber { get; set; }

        [Display(Name = "Title"), StringLength(80)]
        public String sTicketTitle { get; set; }

        [Display(Name = "Description"), StringLength(500)]
        public String sTicketDescription { get; set; }

        [Display(Name = "Warranty's Day")]
        public int iDayWarranty { get; set; }

        public Boolean? IsComplete { get; set; }

        public DateTime? dtDateAdd { get; set; }

        public DateTime? dtDateUpdate { get; set; }
        
    }
}
